package com.ming.springai.studydemo1;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestDemo {

    @RequestMapping("/hello")
    public String hello(String name) {
        return "hello " + name;
    }
}
